用户手册下载     Quick Guide download  


GHOST N1 QUICK GUIDE


Thank you for purchasing the Drift GHOST N1

 

CUSTOMER SUPPORT

Download the full manual and check our official website for firmware updates, customer support, and info on all of our products.

https://driftinnovation.com/

 

If you have any suggestions, comments or concerns; please contact our customer support team at:

sales@driftinnovation.com


WARRANTY

Warranty does not apply if the product is damaged due to physical abuse, mishandling, accident, fire, frostbite, water damage, negligence or failure to follow the supplied operating instructions. For more information on warranty, see:

https://driftinnovation.com/warranty

 

CONTENTS


1. Product Specification

2. Package Contents

3. Installing the Ethernet Module

4. Power On/Off

5. Mode Navigation

6. Settings Mode

7. Drift Life App

8. How to Access Real-Time Video

9. Remote Control & Setup

10. Auto Detection in a Network

 

Product Specification:

Livestream resolution:

4K(4096*2160  17:9) :   25FPS

4KUHD(3840*2160, 16:9): 25/30FPS

2.7K(2704*1520, 16:9):   25/30/50FPS

1080P(1920*1080,16:9):  25/30/50/60/100/120 FPS

720P(1280*720, 16:9):    25/30/50/60 FPS

WVGA(854*480, 16:9)     25/30FPS

 Livestream bitrate:adjustable,45Mbps maximum

 Ethernet Port:RJ45

POE Power:Supported

POE Input:12V@1A

Network Speed: 100Mbps

Livestream protocol: RTSP, RTMP, H.264

Mic:  Internal and External

USB : Mini USB

Size:   43(W)* 82.2(L)* 31.4(H)mm

Weight:120g

  

Package Contents

Ethernet Module

Ghost 4K+ Camera

 

Accessories bag

USB cable

Ethernet cable

POE Power Adaptor

POE Splitter

 

Installing the Ethernet Module

1. Remove the original battery module from your Ghost 4K+ camera.

2. Place Drift Ethernet Module on the camera body, ensuring that the module’s 30pin connector is above the camera’s female connector, press down on both ends simultaneously till the module clicks into place.

3. Connect the Ethernet cable to the port of the Ethernet module, and the other end to the port of the POE (Power over Ethernet) Splitter.

4. Connect the Ethernet cable on your POE Splitter to a router, and make sure the master device, either a computer or mobile phone, wired or wirelessly, is connected to the router as well.

5. Connect the POE power adaptor to the power cable on your POE splitter. Your camera will automatically power on and join the network. Once the camera’s rear LED becomes solid green, you can find the last 8 bits of your camera’s IP address from camera’s rear LCD.

 

 

Power On/Off

Press and hold button to power on your Ghost N1, to turn it off, press and hold  button for 3 seconds.

OR.

If Ghost N1 is connected with an Ethernet cable, it will automatically power on once POE is applied. Removing the POE will turn off camera instantly.

 Once the ethernet cable is connected and the camera is powered on, the Ghost N1 will automatically join the network through DHCP protocol.

 

Mode Navigation

Press button to toggle between Video mode and Settings mode.

Video mode:

(Green LED): In this mode you can setup your livestreaming resolution and frame rate. Press  once to highlight on Resolution menu, and press  to toggle between 4K, 4KUHD, 2.7K, 1080P, 720P and WVGA. Press  again to highlight the framerate, and press button to scroll through the options.

 The available livestream resolutions, Frame Rates and corresponding bitrates are specified below. By default the bit rate is using Mid value (Grey column).

Settings mode:

(Blue LED)  In this mode you can setup your livestreaming parameters. Press  to scroll down through the menu options, or press and hold  to navigate up. Use to change options for the highlighted setting. At any time, press the button to return to Video mode.

 

HD Record On/Off

Field Of View             140/115/90

Exposure                 0/1/2/-1/-2

Bitrate                    High/Middle/Low

Filters                    Normal/Vivid/Low Light

ISO Sensitivity            Auto/100/200/400/800

Video Stabilization        On/Off

Microphone               Front/Rear

Microphone Sensitivity    0/1/2/3/4/5

Speaker Volume            Off/Low/Med/High

LED Indicator             On/Off

Indicator Timer            Off/5s/10s/20s/1m

Date                     YY-MM-DD

Date Stamp               On/Off

Camera off                Never/2m/5m/10m/20m

Language                 Eng/CN/FR/GE/IT/SP

Reset Settings             Yes/No

Format SD Card            Yes/No

Serial Number              xxxxxx

Firmware Version           x.x.x.x


HD Record mode

In the menu, set HD video as On, your camera is mainly for recording, while the stream video will only be used for preview (resolution fixed as 480P), you can control the camera to record by the physical Record button on cam, or through Drift Link App remotely, in this settings, camera can record up to 4K resolution.

 

Live stream mode

In the menu, set HD video as Off, your camera will be in Livestream mode, by setting to this mode, you can remotely setup various livestream resolution, however, you can not to do local recording in this mode.


Drift Link App


From your mobile’s browser, scan below QR code to download and install Drift Link App

 

Once installed, conenct your mobile to the same network as what Ghost N1 connected, turn on the App, you should see the camera appeared on the list, marked with a Red block, you can also see the basic info of the camera including IP address, resolution, battery, and remaining space on the memory card, tap on the camera box, you will be brought to to the preview page, from where you can control the camera remotely, e.g. zoom in/out, adjust Filter, Exposure and Mic sensitivity.

    

Drift Link is a tool in order to manipulate the camera remotely, if you need to do livestream, you can use your computer to access the network stream by input the URL as : rtsp://IP address/live, where IP address is your cam’s IP, for example, if your camera is with this address:192.168.5.22, you can access the camera live feed by : rtsp://192.168.5.22/live.

Once the live feed is on your computer, you can broadcast it to the Internet through your PC tool.


Connecting to a PC

1. Connect the camera using the USB cable (provided); the camera screen will show a USB icon.

2. The camera’s folder may open automatically; if not, open using My Computer.

3. The camera should be recognised as a removable disk; double-click to open.

4. Open the DCIM folder to access your files.

 

Connecting to a Mac

1. Connect the camera using the USB cable (provided); the camera screen will show a USB icon.

2. The camera’s folder may open automatically; if not, open using Finder.

3. The camera should be recognised as an external device; double-click to open.

4. Open the DCIM folder to access your files.

 

How to access real-time video from your camera (for developers)

1. Find the default router gateway of your network: From a computer in the same network, click “Start”, type “cmd” and press “Enter” to open the Command Prompt window. Type “ipconfig” and press “Enter” and you should find the Default Gateway, for example  192.168.4.1.

2. Look at your camera’s rear screen, you should see something like rtsp xxx. The 3 digits following “rtsp” are the last 8 bits of your IP address, for example, 148. Now you have your camera’s IP address as 192.168.4.148.

 

Lots of PC software can play live video through an RTSP address, such as VLC or Blue Iris. Take VLC as example.

1) Open VLC on your PC, navigate to media / open network streaming, input below texts  “rtsp://192.168.4.148/live” in the URL dialog , where "192.168.4.148" is your camera’s IP address.

2) Click on the “Play” button, you should see the live video from your camera instantly.

 

Remote Control & Setup (for developers)

With camera’s IP address, you can use HTTP commands to configure or manipulate your camera remotely from either a computer or mobile device.

 

Command list:

1. Zoom in/out

http://192.168.4.148/cgi-bin/foream_remote_control?dzoom=1

where the value set to dzoom can be from 0 to 10. 0 means no dzoom.

 

2. Setup RTMP live streaming

http://192.168.4.148/cgi-bin/foream_remote_control?start_rtmp_with_param=192.168.3.133:1935/live/5&stream_res=720P&stream_bitrate=2000000

 

where 192.168.3.133:1935/live/5 stands for the URL of your RTMP server, here rtmp:// is omitted.

You can also setup the livestream resolution & bitrate with this command.


Note:in case the RTMP URL contains 【&】 character, please replace it with 【***】.

For example:

If the rtmp url is "rtmp://wxalivepush.weixin.qq.com/live/wx3059da5fb34ccef3-4?txSecret=bc91766cea0589c907c764cdf41d0047&txTime=629f7600"

The URL should be replaced to "rtmp://wxalivepush.weixin.qq.com/live/wx3059da5fb34ccef3-4?txSecret=bc91766cea0589c907c764cdf41d0047***txTime=629f7600"

 

3. Stop live stream

 http://192.168.4.148/cgi-bin/foream_remote_control?stop_rtmp

 

4. Setup Livestream Resolution

http://192.168.4.148/cgi-bin/foream_remote_control?stream_res=0

 

where the value of stream_res can be:

Ghost 4K+:  0(4K), 1(4KUHD), 2(2.7K), 3(1080P), 4(720P),5(WVGA).

 

5. Setup Livestream Bitrate

 http://192.168.4.148/cgi-bin/foream_remote_control?stream_bitrate=1000000

where stream bitrate value is in Byte, 1000000 means 1Mbyte, 8Mbps.

Note: maximum 45Mbps (value = 5625000) can be configured for Ghost 4K+

 

6. Setup Livestream Framerate

 http://192.168.4.148/cgi-bin/foream_remote_control?stream_framerate=30

4K(4096 * 2160 17:9):              24 / 25FPS

4KUHD(3840 * 2160,16:9):       24 / 25 / 30FPS

2.7K(2704 * 1520,16:9):           25 / 30 /50 FPS

1080P(1920 * 1080,16:9):           24 / 25 / 30 / 50 / 60 / 100 / 120FPS

720P(1280 * 720,16:9):            25 / 30 / 50 / 60FPS

WVGA(854 * 480,16:9)              25 / 30FPS

 

7. Start Recording

 http://192.168.4.148/cgi-bin/foream_remote_control?start_record

 

8. Stop Recording

 http://192.168.4.148/cgi-bin/foream_remote_control?stop_record

 

9. Reset Setting

 http://192.168.4.148/cgi-bin/foream_remote_control?reset_setting 


10. Reboot your Camera

 http://192.168.4.148/cgi-bin/foream_remote_control?reboot

 

11. Power off your camera

 http://192.168.4.148/cgi-bin/foream_remote_control?power_off

 

12. Setup Camera LED Indicator

 http://192.168.4.148/cgi-bin/foream_remote_control?led=1

where the value: 1 stands for On, 0 stands for Off


13. Setup Camera Exposure Value

 http://192.168.4.148/cgi-bin/foream_remote_control?exposure=1

where the value:  0 stands for 0, 1 stands for 1, 2 stands for 2, 3 stands for -1, 4 stands for -2.

 

14. Set Camera Filter

 http://192.168.4.148/cgi-bin/foream_remote_control?filter=1

where the value: 0 stands for Normal, 1 stands for Vivid and 2 stands for Low Light and 3 for Water.

 

15. Setup Camera Mic Sensitivity

http://192.168.4.148/cgi-bin/foream_remote_control?mic_sensitivity=1

where the value should be 0 to 5, 0 stands for Mic Off, 1 to 5 stands for each Mic level, from low to high.


 16. setup camera time

http://192.168.4.148/cgi-bin/foream_remote_control?set_time=2021-03-01_09:35:00

setup the camera time to : 2021/3/1 9:35。


17. Setup Video Resolution

 http://192.168.4.148/cgi-bin/foream_remote_control?video_res=0

where the value of video_res can be:

Ghost X,Ghost XL,X3: 0 (1080P), 2(720P), 3(WVGA)

Ghost 4K+, 0(4K), 1(4KUHD), 2(27K), 3(1080P), 4(720P),5(WVGA).

  

18. Setup Video Bitrate

 http://192.168.4.148/cgi-bin/foream_remote_control?video_bitrate=1000000

 

where video bitrate value is in Byte, 1000000 means 1Mbyte, 8Mbps.

 

 19. Setup Video Framerate

 http://192.168.4.148/cgi-bin/foream_remote_control?video_framerate=30

 

4K(4096 * 2160 17:9):              24 / 25FPS

4KUHD(3840 * 2160,16:9):       24 / 25 / 30FPS

2.7K(2704 * 1520,16:9):           25 / 30 /50 FPS

1080P(1920 * 1080,16:9):           24 / 25 / 30 / 50 / 60 / 100 / 120FPS

720P(1280 * 720,16:9):            25 / 30 / 50 / 60FPS

WVGA(854 * 480,16:9)              25 / 30FPS .


 20. get camera current status

http://192.168.4.148/cgi-bin/foream_remote_control?get_camera_status

return camera status in XML, for example:

<?xml version="1.0" encoding="utf-8"?>

<Response>

<Status>1</Status>

<Cam_Status>

<camera_status>

<capture_mode>0</capture_mode>

<battery>1</battery>

<sd_free>31150080</sd_free>

<sd_total>31154688</sd_total>

<rec_time>0</rec_time>

<fw_ver>8022</fw_ver>

<model_name>N1</model_name>

</camera_status>

<video_setting>

<res>2</res>

<framerate>30</framerate>

<bitrate>2000000</bitrate>

<quality>2</quality>

</video_setting>

<stream_setting>

<stream_res>2</stream_res>

<stream_framerate>30</stream_framerate>

<stream_bitrate>2000000</stream_bitrate>

</stream_setting>

<camera_setting>

<dzoom>0</dzoom>

<filter>0</filter>

<exposure>0</exposure>

<mic>3</mic>

<led>1</led>

<hd_record>0</hd_record>

</camera_setting>

</Cam_Status>

</Response>

Where the item :

<capture_mode>: 0 stands for video mode , 1 stands for photo mode, 2 stands for timelapse mode, 3 stands for burst mode;

N1/N2 only support video and photo mode.

<battery> means the remaining battery in percentage

<sd_free> means the free size of TF card capacity in KB, if the free size is less than 400Mbps, it will prompt card full and the recording is not allowed.

<sd_total> means the total size of TF card capacity in KB.

<rec_time>: 0 means camera is in idle mode, otherwise it stands for current recording time.

<fw_ver> the FW verson.

<model_name> the model name of camera

<hd_record>: 0 means it’s now in live streaming mode, 1 means it's now in HD recording mode.


21. list SD media folders

http://192.168.4.148/cgi-bin/foream_remote_control?list_folders=/tmp/SD0/DCIM

list all the media folders (DCIM) in the camera SD card


<?xml version="1.0" encoding="utf-8"?>

<Response>

<Folders>

{"Path":"100MEDIA"},

{"Path":"101MEDIA"},

{"Path":"102MEDIA"},

</Folders>

<Amount>3</Amount>

</Response>


22. list SD media files

http://192.168.4.148/cgi-bin/foream_remote_control?list_files=/tmp/SD0/DCIM/

list all the media files on SD card.

<?xml version="1.0" encoding="utf-8"?>

<Response>

<Files>

{"Path":"100MEDIA/VID00001.MP4","CreateTime":"Nov 03 11:38:00 2021","Size":112767067,"Thumb":0},

{"Path":"100MEDIA/VID00002.MP4","CreateTime":"Nov 03 13:32:08 2021","Size":1686118,"Thumb":0},

{"Path":"100MEDIA/VID00003.MP4","CreateTime":"Nov 03 13:35:52 2021","Size":146324100,"Thumb":0},

</Files>

<Amount>3</Amount>

</Response>

Note:

If you want to preview or download the media file, please use the following URL:

http://192.168.4.148/DCIM/100MEDIA/VID00001.MP4

http://192.168.4.148/DCIM/100MEDIA/VID00002.MP4


23. delete SD media files

http://192.168.5.56/cgi-bin/foream_remote_control?delete_media_file=100MEDIA/VID00003.MP4



Auto detection in a network (for developers)

Once a Ghost 4K+ (mounted by Ethernet module) connects into a network, it will broadcast a UDP package to present itself to devices (mobile or PC) in the same network. The package contains the necessary info for the device to establish the connection. Once connected, the device can issue http command to Drift camera for further actions, the following are the details of how the connection can be established.

 

1. Broadcast package (UDP) format

    The broadcast package (from camera) is in this format

5|cam_serial|cam_model||cam_status

 Definition:

1)5 - fixed value to specify the broadcast type

2)cam_Serial – Camera Serial Number

3)cam_Model – Camera Model

4)cam_Status - Camera Status, the default is n, indicating normal status.

 

Note: camera’s IP address is embedded in the header of the UDP package which can be extracted by the receiver.

 

2. Acquire real-time video feed from camera

once the connection is established, an application can use a media player (such as VLC, ijk or vitamio player) to acquire real-time video feed. The command format is the following

RTSP:

rtsp://Camera IP/live

TCP:

tcp://Camera IP:8001

 

3. Camera control

Once the connection is established, the application can manipulate camera with the commands described in above section.



GHOST  N1快速指南


 

感谢您购买Drift GHOST N1

 

客户支持

下载完整的手册并查看我们的官方网站,了解固件更新,客户支持以及我们所有产品的信息。 https://driftinnovation.com/

 

如果您有任何建议、意见或疑虑;请通过以下方式联系我们的客户支持团队: sales@driftinnovation.com

 

保修条款

如果产品因人为损坏,误操作,事故,火灾,冻伤,水损坏,疏忽或不遵循提供的操作说明

而损坏,则保修不适用。 有关保修的更多信息,请参阅: 

https://driftinnovation.com/warranty

 

内容 

1. 产品规格

2. 包装内容

3. 安装以太网模块

4. 电源开/关

5. 模式导航

6. 设置模式

7. 下载Drift Life App 

8. 从相机访问实时视频

9. 远程控制和设置

10. 网络自动检测

 

产品规格: 

直播分辨率

4K(4096 * 2160 17:9):               25FPS

4KUHD(3840 * 2160,16:9):       25/30FPS

2.7K(2704 * 1520,16:9):           25/30/50FPS

1080P(1920 * 1080,16:9):           25/30/50/60/100/120FPS

720P(1280 * 720,16:9):            25/30/50/60FPS

WVGA(854 * 480,16:9)              25/30FPS

 

实时流比特率(码率):最大可调45Mbps

以太网口:RJ45

POE电源:支持

POE输入:12V @ 1A

网络速度:100Mbps

直播协议:RTSP,RTMP,H.264

麦克风:内部和外部

USB:Mini USB

尺寸:43(W)* 82.2(L)* 31.4(H)mm

重量:120g

 

包装内容 

网卡模组

Ghost 4K +相机

 

配件袋 

USB电缆

以太网电缆

POE电源适配器

POE分离器

 

安装您的以太网模块 

1. 从Ghost 4K +相机中取出原始电池模块。

2. 将网卡模组按照原始电池模块相对应位置放置,确保该模块的30针连接器位于相机的母连接器上方,同时将其两端平稳按下,直到模块卡入到位。

3. 将以太网电缆(包装中未提供)连接到网卡模组的端口上,另一端连接到POE分离器的端口(与电源端口相对)

4. 将POE分离器上的以太网电缆连接到路由器,并确保主设备(计算机或移动电话的有线或无线)也已连接到该路由器。

5. 通过电源适配器为POE分离器供电。

6. 您的相机将自动打开电源并加入网络,然后(此时相机LED屏幕显示的是绿色)您可以从相机的后LED屏中找到相机IP地址的最后8位。


 

 

 

电源开/关 

按住 按钮3秒钟Ghost N1将会开机,开机后再次按住 按钮3秒钟相机将会关机。

另外

如果Ghost N1用以太网电缆连接,则在接通POE电源后相机将会自动开机,拔下POE电源后将会自动关机。

接通电源并连接以太网电缆后,Ghost N1将通过DHCP协议自动加入网络。

模式导航 

 按钮可在视频模式和设置模式之间切换。

视频模式: 

(绿色LED):在此模式下,您可以设置直播或高清拍摄分辨率和帧率,按一下  按钮后选择框会移动到“分辨率”菜单上,使用 按钮可以在4K,4KUHD,2.7K,1080P,720P和WVGA之间切换,再次按  按钮后选择框会移动到帧率菜单上,使用 按钮可以切换帧速率。

实时流分辨率,帧率和相应的比特率(码率)指定如下,默认情况下,比特率使用中间级别(灰色列)的值。

 

 

设置模式: 

(蓝色LED):在此模式下,您可以设置直播或高清拍摄参数,按 按钮向下切换菜单,长按  按钮向上切换菜单,按 可以修改设置项。在任何时候按  按钮可返回视频模式。


高清拍摄 开 / 关 

可视角                               140 /115 /90

曝光                                    0 / 1 / 2 / -1 / -2

码率                                    高 / 中 / 低

场景                                    正常 / 鲜艳 / 夜间模式

ISO                                     自动/ 100 / 200 / 400 / 800

防抖                                     开 / 关

麦克风                                 前 / 后

麦克风音量                           关 / 1 / 2 / 3 / 4 / 5

扬声器音量                           关 / 低 / 中 / 高

LED指示灯                            开 / 关

指示灯定时器                        关 / 5s / 10s / 20s / 1m

日期                                      YY-MM-DD

时间水印                                 开 / 关

自动关机                                 从不 / 2m / 5m / 10m / 20m

语言                                       Eng/ CN / FR / GE / IT / SP

重置设置                                  是 / 否

格式化SD卡                             是 / 否

序列号                                     xxxxxx

固件版本                                  x.x.x.x


 高清录像模式

在菜单模式中,选择”高清录像“, 相机在高清拍摄模式下,视频流只用于监控(对视频流的品质要求不高),视频流参数为WVGA, 30fps, 3Mbps, 不支持修改。相机支持本机按键拍摄,也支持远程API控制拍摄。 缺省的高清拍摄参数为 4KUHD,30fps, 45Mbps高码率, 通过远程API命令修改参数与本机菜单修改参数一致。


直播模式

直播模式为N1的缺省模式, 相机在直播模式下, 只用于直播, 不支持拍摄,缺省的直播参数为1080P, 60fps, 6Mbps. 相机可以通过本机菜单和远程API命令修改直播参数,通过远程API命令修改参数与本机菜单修改参数一致。 


下载Drift Link App


可以从手机浏览器上扫描下面的二维码安装 Drift Link App

 

安装好后,将手机连接到Ghost N1所连接的同一个网络,打开App,应该会看到摄像头出现在列表中,标有红色块,还可以看到摄像头的基本信息,包括IP地址 , 分辨率, 电池, 存储卡上的剩余空间,点击相机框,您将被带到预览页面,您可以在其中远程控制相机,例如 放大/缩小,调整过滤器,曝光和麦克风灵敏度。


    

Drift Link 是一个远程操作摄像机的工具,如果你需要做直播,你可以用你的电脑访问网络流,输入 URL 为:rtsp://IP 地址/live,其中 IP 地址是你的 cam 的 IP地址,例如,如果您的摄像头使用此地址:192.168.5.22,您可以通过以下方式访问摄像头直播:rtsp://192.168.5.22/live。

一但实时音视频出现在您的计算机上后,您可以通过您的 PC 工具将其广播到 Internet。


相机连接电脑(可查看SD卡文件) 

1. 使用USB数据线(随附)连接相机和电脑;相机屏幕上将显示一个USB图标。

2. 相机的文件夹可能会自动打开;如果没有打开请移步到“我的电脑”打开。

3. 相机应被视为可移动磁盘;找到可移动磁盘双击打开。

4. 打开DCIM文件夹可访问您的文件。

 

连接Mac查看 

1. 使用USB数据线(随附)连接相机和电脑;相机屏幕上将显示一个USB图标。

2. 相机的文件夹可能会自动打开;如果没有打开请使用Finder打开。

3. 相机应被视为外部设备;找外部设备双击打开。

4. 打开DCIM文件夹以访问您的文件。

  

从相机访问实时视频(仅适用于开发人员) 

1. 找到您连接网络的默认路由器网关:在同一网络中的计算机上,单击“开始”,键入“ cmd”,然后按“ Enter”打开命令提示符窗口,输入“ ipconfig”并按“ Enter”,此时应该能查看到您的默认网关,例如192.168.4.1。

2. 查看相机的LED屏幕,应该能看到类似rtsp xxx的内容,“ rtsp”后的3位数字是IP地址的后8位,假定为148,现在您的相机IP地址为192.168.4.148。目前有很多PC软件可以通过RTSP地址播放实时视频,例如VLC或Blue Iris,以VLC为例。(没有的话请到网上下载)

 

1)在您的PC上打开VLC,点击左上角的媒体----打开网络串流,在URL对话框中输入以下文本“ rtsp://192.168.4.148/live”,其中“ 192.168.4.148”是您相机的IP地址。

2)点击“播放”按钮,您应该可以立即从摄像机观看实时视频。

 

远程控制和设置(仅适用于开发人员) 

使用相机的IP地址,您可以使用HTTP命令从计算机或移动设备远程配置或操作相机。

 

 

命令清单:

1. 放大/缩小

http://192.168.4.148/cgi-bin/foream_remote_control?dzoom=1

设置dzoom的值可以在0到10之间。值0表示视频恢复无dzoom状态。

 

2. 设置RTMP实时流

http://192.168.4.148/cgi-bin/foream_remote_control?start_rtmp_with_param=192.168.3.133:1935/live/5&stream_res=720P&stream_bitrate=2000000

其中192.168.3.133:1935/live/5代表RTMP服务器的URL,此处省略rtmp://。 您也可以使用此命令设置实时分辨率和比特率。


注意:如果RTMP URL包含【&】字符,请用【***】代替。

比如如果推流地址为 “rtmp://wxalivepush.weixin.qq.com/live/wx3059da5fb34ccef3-4?txSecret=bc91766cea0589c907c764cdf41d0047&txTime=629f7600"

那转换后地址为: "rtmp://wxalivepush.weixin.qq.com/live/wx3059da5fb34ccef3-4?txSecret=bc91766cea0589c907c764cdf41d0047***txTime=629f7600"

 

3. 停止直播

http://192.168.4.148/cgi-bin/foream_remote_control?stop_rtmp

 

4. 设置直播分辨率

http://192.168.4.148/cgi-bin/foream_remote_control?stream_res=0

其中stream_res的值可以是:

Ghost 4K+:0(4K),1(4KUHD),2(2.7K),3(1080P),4(720P),5(WVGA)。

 

5. 设置直播比特率

http://192.168.4.148/cgi-bin/foream_remote_control?stream_bitrate=1000000

流比特率值以字节为单位,1000000表示1Mbyte,8Mbps。

注意:最多可以为Ghost 4K +配置45Mbps(值= 5625000)

 

6. 设置直播帧率

 http://192.168.4.148/cgi-bin/foream_remote_control?stream_framerate=30

  4K:                    24、25 FPS

4KUHD:              24、25、30 FPS

2.7K:                  25、30、50 FPS

1080P:               24、25、30、50、60、100、120 FPS

720P:                 25、30、50、60、200、240FPS

WVGA:              25、30 FPS

 

7. 开始录音

http://192.168.4.148/cgi-bin/foream_remote_control?start_record

 

8. 停止录像

http://192.168.4.148/cgi-bin/foream_remote_control?stop_record

 

9. 重启相机

http://192.168.4.148/cgi-bin/foream_remote_control?reboot

 

10. 恢复出厂设置

http://192.168.4.148/cgi-bin/foream_remote_control?reset_setting 


11. 关闭相机电源

http://192.168.4.148/cgi-bin/foream_remote_control?power_off

 

12. 设置相机LED指示灯

http://192.168.4.148/cgi-bin/foream_remote_control?led=1

其中值:1代表开,0代表关

 

13. 设置相机曝光值

http://192.168.4.148/cgi-bin/foream_remote_control?exposure=1

其中:0代表0,1代表1,2代表2,3代表-1,4代表-2。

  

14. 设置相机滤镜

http://192.168.4.148/cgi-bin/foream_remote_control?filter=1

其中值:0代表正常,1代表鲜艳,2代表低光

 

15. 设置相机的麦克风灵敏度

http://192.168.4.148/cgi-bin/foream_remote_control?mic_sensitivity=1

 其中值应为0到5,0 为关闭Mic,1-5 分别代表每个麦克风电平。


 16. 设置相机的系统时间

http://192.168.4.148/cgi-bin/foream_remote_control?set_time=2021-03-01_09:35:00

设置相机的时间为: 2021年3月1日,9:35分。


17. 设置高清拍摄分辨率

http://192.168.4.148/cgi-bin/foream_remote_control?video_res=0

其中video_res的值可以是:

Ghost 4K+:0(4K),1(4KUHD),2(2.7K),3(1080P),4(720P),5(WVGA)。

 

18. 设置高清拍摄比特率

http://192.168.4.148/cgi-bin/foream_remote_control?video_bitrate=1000000

流比特率值以字节为单位,1000000表示1Mbyte,8Mbps。

注意:最多可以为Ghost 4K +配置45Mbps(值= 5625000)

 

19. 设置高清拍摄帧率

 http://192.168.4.148/cgi-bin/foream_remote_control?video_framerate=30

  4K:                    24、25 FPS

4KUHD:              24、25、30 FPS

2.7K:                  25、30、50 FPS

1080P:               24、25、30、50、60、100、120 FPS

720P:                 25、30、50、60、200、240FPS

WVGA:              25、30 FPS


20  获取相机设置及状态

 http://192.168.4.148/cgi-bin/foream_remote_control?get_camera_status 

 返回XML格式:

<?xml version="1.0" encoding="utf-8"?>

<Response>

<Status>1</Status>

<Cam_Status>

<camera_status>

<capture_mode>0</capture_mode>

<battery>1</battery>

<sd_free>31150080</sd_free>

<sd_total>31154688</sd_total>

<rec_time>0</rec_time>

<fw_ver>8022</fw_ver>

<model_name>N1</model_name>

</camera_status>

<video_setting>

<res>2</res>

<framerate>30</framerate>

<bitrate>2000000</bitrate>

<quality>2</quality>

</video_setting>

<stream_setting>

<stream_res>2</stream_res>

<stream_framerate>30</stream_framerate>

<stream_bitrate>2000000</stream_bitrate>

</stream_setting>

<camera_setting>

<dzoom>0</dzoom>

<filter>0</filter>

<exposure>0</exposure>

<mic>3</mic>

<led>1</led>

<hd_record>0</hd_record>

</camera_setting>

</Cam_Status>

</Response>


21.  列举SD卡的媒体目录

http://192.168.4.148/cgi-bin/foream_remote_control?list_folders=/tmp/SD0/DCIM

返回:

<?xml version="1.0" encoding="utf-8"?>

<Response>

<Folders>

{"Path":"100MEDIA"},

{"Path":"101MEDIA"},

{"Path":"102MEDIA"},

</Folders>

<Amount>3</Amount>

</Response>

 

22.  获取SD卡的所有媒体文件(视频及图片)

http://192.168.4.148/cgi-bin/foream_remote_control?list_files=/tmp/SD0/DCIM/

返回:

<?xml version="1.0" encoding="utf-8"?>

<Response>

<Files>

{"Path":"100MEDIA/VID00001.MP4","CreateTime":"Nov 03 11:38:00 2021","Size":112767067,"Thumb":0},

{"Path":"100MEDIA/VID00002.MP4","CreateTime":"Nov 03 13:32:08 2021","Size":1686118,"Thumb":0},

{"Path":"100MEDIA/VID00003.MP4","CreateTime":"Nov 03 13:35:52 2021","Size":146324100,"Thumb":0},

</Files>

<Amount>3</Amount>

</Response>

Note:

如果你想预览或下载相机中的文件,可以使用如下 URL:

http://192.168.4.148/DCIM/100MEDIA/VID00001.MP4

http://192.168.4.148/DCIM/100MEDIA/VID00002.MP4


(23) 删除文件

http://192.168.5.56/cgi-bin/foream_remote_control?delete_media_file=100MEDIA/VID00003.MP4


在网络中自动检测到(仅适用于开发人员) 

一旦Ghost 4K +(通过以太网模块安装)连接到网络,它将广播UDP数据包,以将其自身呈现给同一网络中的设备(移动设备或PC)。该软件包包含设备建立连接所需的信息。连接后,设备可以向Drift相机发出http命令以进行下一步的操作,以下是如何建立连接的详细信息。

 

1. 广播包(UDP)格式

广播包(来自摄像机)是这种格式

5 | cam_serial | cam_model || cam_status

 

定义:

1)5-指定广播类型的固定值

2)cam_Serial –摄像机序列号

3)cam_Model –相机型号

4)cam_Status-摄像机状态,默认为n,表示正常状态。

注意:摄像机的IP地址嵌入在UDP包的标头中,可以由接收方提取。

   

2. 从摄像机获取实时视频

建立连接后,应用程序可以使用媒体播放器(例如VLC,ijk或vitamio播放器)来获取实时视频。命令格式如下

RTSP:

rtsp://摄像机IP /实时

TCP: tcp://摄像机IP:8001


3. 相机控制 建立连接后,应用程序可以使用上一节中描述的命令来操作摄像机。

 

文档更新时间: 2023-07-31 21:44   作者:foreamdoc